package first.c02;

public class Regular extends Price {
	
	
	public double getCharge(int daysRented) {
		double result = 2;
		if (daysRented > 2)
			result += (daysRented - 2) * 1.5;
		return result;
	}
	
	public double getPriceCode(){
		return Movie.REGULAR;
	}
	
}
